package com.yxinsur.imc.business.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import java.util.Date;

@Data
@ToString
public class ContractExpenseSearchForm {

    private static final long serialVersionUID = 1L;

    //供应商
    @ApiModelProperty("供应商ID")
    private Long repoSupplierId;
    //协议
    @ApiModelProperty("协议ID")
    private Long contractId;
    //险种
    @ApiModelProperty("险种Id")
    private Long repoInsId;
    //科目
    @ApiModelProperty("协议费用科目Id")
    private Long contractExpenseId;

    //todo 协议产品费率增加查询条件
    //供应商费用科目Id
    @ApiModelProperty("供应商费用科目Id")
    private Long supplierExpenseId;
    //方案
    @ApiModelProperty("方案/保险计划 id")
    private Long insSchemeId;

    //生效日期
    @ApiModelProperty("协议生效日期（起）")
    private Date contractStartDate;

    //生效日期
    @ApiModelProperty("协议生效日期（止）")
    private Date contractEndDate;

    //生效日期
    @ApiModelProperty("产品生效日期（起）")
    private Date startDate;

    //生效日期
    @ApiModelProperty("产品生效日期（止）")
    private Date endDate;

    /**
     * 缴费年期
     */
    @ApiModelProperty("缴费年期")
    private Long chargePeriod;

    /**
     * 保障年期
     */
    @ApiModelProperty("保障年期")
    private Long coveragePeriod;


    /**
     * 领取年龄
     */
    @ApiModelProperty("领取年龄")
    private Long pensionAge;


    //保单年度起
    //保单年度止
    /**
     * 保单年度下限(含)
     */
    @ApiModelProperty("保单年度下限(含)")
    private Long payYearLower;

    /**
     * 保单年度上限(含)
     */
    @ApiModelProperty("保单年度上限(含)")
    private Long payYearUpper;

}
